package practice002;

public class Student extends Person{
    String stuId;


    Student(String name,int age,char gender,String stuId){
        super(name,age,gender);
        this.stuId = stuId;
    }
    void study(){
        System.out.println(name+"正在学习");
    }
    void show(){
        System.out.println("大家好,我是"+name+"我今年"+age+"岁了,"+"性别是:"+gender+",我的学号"+stuId);
    }
}
